package task3;

/**
 * Created with IntelliJ IDEA.
 * Description:
 * User: 东莞呵呵
 * Date:2022-06-09
 * Time:15:01
 */
public class Employee {
    private String name;
    private int id;
    private String salary;

    public Employee(String name, int id, String salary) {
        this.name = name;
        this.id = id;
        this.salary = salary;
    }
    public void showMessage(){
        System.out.println("员工信息：姓名："+this.name+",id号"+this.id+",薪金："+this.salary);
    }
}
